/* 
 * This is a school project called InvIT
 * Each line should be prefixed with  * 
 */

window.onscroll = function()

{

	if( window.XMLHttpRequest ) {

		if (document.documentElement.scrollTop > 100 || window.pageYOffset > 100) {

			document.all.menu.style.position = 'fixed';

                        document.all.menu.style.top = '0px';

		} else if (document.documentElement.scrollTop < 100 || window.pageYOffset < 100) {

			document.all.menu.style.position = 'absolute';

			document.all.menu.style.top = '100px';

		}

	}

};

